x86/shadow: Drop VALID_GFN()
authorAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 1 Mar 2017 18:01:51 +0000 (18:01 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 23 Mar 2017 17:25:59 +0000 (17:25 +0000)
commit1059dd9635dd205bce9cedd95e054496cfdd5a80
tree28dcb9750c5748af253c8c1dee056e5adbd97754
parent747ddf0dda10cd7c4d4606f19981a1eec8facd7a
x86/shadow: Drop VALID_GFN()

There is only one single user of VALID_GFN().  Inline the macro to remove the
added layer of indirection in sh_gva_to_gfn()

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Tim Deegan <tim@xen.org>
xen/arch/x86/mm/shadow/multi.c
xen/include/asm-x86/guest_pt.h